package com.elai.baseconfig.domain;

import com.elai.common.annotation.Excel;
import com.elai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户属性对象 base_user_attributes
 *
 * @author elai
 * @date 2021-06-06
 */
public class BaseUserAttributesDO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 属性名 */
    @Excel(name = "属性名")
    private String attributeName;

    /** 属性描述 */
    @Excel(name = "属性描述")
    private String attributeRemark;

    /** 数据类型 */
    @Excel(name = "数据类型")
    private String dataType;

    /** 是否上报数据 */
    @Excel(name = "是否上报数据")
    private String reportFlag;

    /** 预设 */
    @Excel(name = "预设")
    private String preSetFlag;

    /** 字典 */
    @Excel(name = "字典")
    private String dictionaryFlag;

    /** 显示状态 */
    @Excel(name = "显示状态")
    private String displayFlag;

    /** 租户ID */
    private String lesseeId;

    public String getLesseeId() {
        return lesseeId;
    }

    public void setLesseeId(String lesseeId) {
        this.lesseeId = lesseeId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }

    public void setAttributeName(String attributeName)
    {
        this.attributeName = attributeName;
    }
    public String getAttributeName()
    {
        return attributeName;
    }

    public void setAttributeRemark(String attributeRemark)
    {
        this.attributeRemark = attributeRemark;
    }
    public String getAttributeRemark()
    {
        return attributeRemark;
    }

    public void setDataType(String dataType)
    {
        this.dataType = dataType;
    }
    public String getDataType()
    {
        return dataType;
    }

    public void setReportFlag(String reportFlag)
    {
        this.reportFlag = reportFlag;
    }
    public String getReportFlag()
    {
        return reportFlag;
    }

    public void setPreSetFlag(String preSetFlag)
    {
        this.preSetFlag = preSetFlag;
    }
    public String getPreSetFlag()
    {
        return preSetFlag;
    }

    public void setDictionaryFlag(String dictionaryFlag)
    {
        this.dictionaryFlag = dictionaryFlag;
    }
    public String getDictionaryFlag()
    {
        return dictionaryFlag;
    }

    public void setDisplayFlag(String displayFlag)
    {
        this.displayFlag = displayFlag;
    }
    public String getDisplayFlag()
    {
        return displayFlag;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attributeName", getAttributeName())
            .append("attributeRemark", getAttributeRemark())
            .append("dataType", getDataType())
            .append("reportFlag", getReportFlag())
            .append("preSetFlag", getPreSetFlag())
            .append("dictionaryFlag", getDictionaryFlag())
            .append("displayFlag", getDisplayFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
